<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/css/sytle.css">
<title>需求详情-保姆</title>
</head>
<body style="background: #f1f1f1;">
	<div class="hgj">
		<div class="page-all">
			<!--头部开始-->
			<header>
				<div class="navbar">
					<ul>
						<li class="l-back"><a href="/"><img
							src="${pageContext.request.contextPath}/images/left.png" alt="返回" /></a></li>
						<li class="n-word">需求详情</li>
						<li class="n-intro"></li>
					</ul>
				</div>
			</header>
			<div class="container">
				<!--内容开始-->
				<!--订单基础信息-->
				<div class="basic-odr">
					<div class="baic-top">
						<img src="${pageContext.request.contextPath}/images/xq_item.png" /><span>${NEED_INFO.wTitle}</span><em><c:if
								test="${NEED_INFO.status == 1}">
						等待处理
					</c:if> <c:if test="${NEED_INFO.status == 2}">
						已接受
					</c:if> <c:if test="${NEED_INFO.status == 3}">
						已完成
					</c:if> <c:if test="${NEED_INFO.status == 4}">
						已取消
					</c:if></em>
					</div>
					<div class="orderDetails" style="padding: 1rem 0 0 0;">
						<ul>
							<li><span>提交时间：</span><em><fmt:formatDate
										value="${NEED_INFO.createTime}" type="BOTH" dateStyle="full" /></em></li>
							<li><span>服务地点：</span><em>${NEED_INFO.wAddress}</em></li>
							<li><span>联系人：</span><em>${NEED_INFO.wContact}
									电话：${NEED_INFO.wMemberMobile}</em></li>
							<li><span>服务项目：</span><em>${NEED_INFO.wTitle}</em></li>
						</ul>
					</div>
				</div>
				<c:if
					test="${NEED_INFO.wNeedType == 6}">
			    <!--需求详情--->
			    <div class="basic-odr">
					    <div class="baic-top"><img src="${pageContext.request.contextPath}/images/xq_details.png"/><span>需求详情</span></div>
					    <div class="orderDetails" style="padding:1rem 0 0 0;">
						      <ul>
								      <li><span>房屋面积：</span><em>${NEED_INFO.wSizeType}</em></li>
								      <li><span>心理价位：</span><em>${NEED_INFO.wFeeType}</em></li>
								      <li><span>保姆年龄：</span><em>${NEED_INFO.wAge}</em></li>
								      <li><span>烧饭喜好：</span><em>${NEED_INFO.wFoodType}</em></li>
								      <li><span>是否住家：</span><em>${NEED_INFO.wIsLive}</em></li>
								      <li><span>人员籍贯：</span><em>${NEED_INFO.wNation}</em></li>
						      </ul>
					    </div>   
			    </div>
			 	</c:if>
			 	 <c:if test="${NEED_INFO.wNeedType == 7}">
			 	 <div class="basic-odr">
				<div class="baic-top"><img src="${pageContext.request.contextPath}/images/xq_details.png"/><span>需求详情</span></div>
				<div class="orderDetails" style="padding:1rem 0 0 0;">
					<ul>
						<li><span>开始时间：</span><em>2017-03-23</em></li>
						<li><span>服务时段：</span><em>白天 ￥80/12小时 08：00-20：00</em></li>
						<li><span>医院方位：</span><em>${NEED_INFO.wAddress}</em></li>
						<li><span>医院名称：</span><em>${NEED_INFO.wHospitalAddre}</em></li>
					</ul>
				</div>   
			</div>
			 	</c:if>
			 	 <c:if test="${NEED_INFO.wNeedType == 8}">
			 	 <div class="basic-odr">
				<div class="baic-top"><img src="${pageContext.request.contextPath}/images/xq_details.png"/><span>需求详情</span></div>
				<div class="orderDetails" style="padding:1rem 0 0 0;">
					<ul>
						<li><span>宝宝年龄：</span><em>${NEED_INFO.wBabyAge}</em></li>
						<li><span>心理价位：</span><em>${NEED_INFO.wFeeType}</em></li>
						<li><span>保姆年龄：</span><em>${NEED_INFO.wAge}</em></li>
						<li><span>育婴师学历：</span><em>${NEED_INFO.wEducation}</em></li>
						 <li><span>是否住家：</span><em>${NEED_INFO.wIsLive}</em></li>
								      <li><span>人员籍贯：</span><em>${NEED_INFO.wNation}</em></li>
					</ul>
				</div>   
			</div>
			 	</c:if>
			 	 <c:if test="${NEED_INFO.wNeedType == 9}">
			 	 <div class="basic-odr">
				<div class="baic-top"><img src="${pageContext.request.contextPath}/images/xq_details.png"/><span>需求详情</span></div>
				<div class="orderDetails" style="padding:1rem 0 0 0;">
					<ul>
						<li><span>预产期：</span><em>${NEED_INFO.wChildbirth}</em></li>
						<li><span>心理价位：</span><em>${NEED_INFO.wFeeType}</em></li>
						<li><span>保姆年龄：</span><em>${NEED_INFO.wAge}</em></li>
						 <li><span>是否住家：</span><em>${NEED_INFO.wIsLive}</em></li>
								      <li><span>人员籍贯：</span><em>${NEED_INFO.wNation}</em></li>
					</ul>
				</div>   
			</div>
			 	</c:if>
			 	 <c:if test="${NEED_INFO.wNeedType == 10}">
			 	 <div class="basic-odr">
				<div class="baic-top"><img src="${pageContext.request.contextPath}/images/xq_details.png"/><span>需求详情</span></div>
				<div class="orderDetails" style="padding:1rem 0 0 0;">
					<ul>
						<li><span>老人性别：</span><em>${NEED_INFO.wOldGender}</em></li>
						<li><span>自理程度：</span><em>${NEED_INFO.wOldType}</em></li>
						<li><span>心理价位：</span><em>${NEED_INFO.wFeeType}</em></li>
						<li><span>是否住家：</span><em>${NEED_INFO.wIsLive}</em></li>
								      <li><span>人员籍贯：</span><em>${NEED_INFO.wNation}</em></li>
					</ul>
				</div>   
			</div>
			 	</c:if>
			     <!--备注--->
			    <div class="basic-odr">
			    		<div class="orderDetails" style="padding:0;">
						      <ul>
								      <li><i class="o-d-c">备注：</i>${NEED_INFO.wDesc}</li>
								  </ul>
					    </div>
			    </div>
			</div>
      <!--底部-->
			<footer>
					<a href="${pageContext.request.contextPath}/need/userNeeds/0/1.html" class="sumit-btn">返回</a>
			</footer>
    </div>
</div>
</body>
</html>

